{"version":3,"sources":["useroptions.js"],"names":["BX","namespace","Main","TileGrid","UserOptions","parent","userOptions","userOptionsActions","url","this","options","actions","init","prototype","eval","err","console","warn","getCurrentViewName","getOptions","current_view","getViewsList","views","getCurrentOptions","name","result","type","isPlainObject","getUrl","action","util","add_url_param","GRID_ID","getId","getActions","getAction","update","newOptions","setColumns","columns","callback","join","save","setColumnsNames","view_id","custom_names","setColumnSizes","sizes","expand","reset","forAll","data","set_default_settings","delete_user_settings","view_settings","setSort","by","order","setPageSize","pageSize","isNumber","parseInt","setExpandedRows","ids","isArray","setCollapsedGroups","resetExpandedRows","saveForAll","batch","bath","self","ajax","post","res","JSON","parse","error","isFunction"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,oBAUbD,GAAGE,KAAKC,SAASC,YAAc,SAASC,EAAQC,EAAaC,EAAoBC,GAEhFC,KAAKC,QAAU,KACfD,KAAKE,QAAU,KACfF,KAAKJ,OAAS,KACdI,KAAKD,IAAM,KACXC,KAAKG,KAAKP,EAAQC,EAAaC,EAAoBC,IAGpDR,GAAGE,KAAKC,SAASC,YAAYS,WAC5BD,KAAM,SAASP,OAAQC,YAAaC,mBAAoBC,KAEvDC,KAAKD,IAAMA,IACXC,KAAKJ,OAASA,OAEd,IACCI,KAAKC,QAAUI,KAAKR,aACnB,MAAMS,GACPC,QAAQC,KAAK,4EAGd,IACCR,KAAKE,QAAUG,KAAKP,oBACnB,MAAMQ,GACPC,QAAQC,KAAK,sFAIfC,mBAAoB,WAEnB,IAAIR,EAAUD,KAAKU,aAEnB,MAAO,iBAAkBT,EAAUA,EAAQU,aAAe,MAG3DC,aAAc,WAEb,IAAIX,EAAUD,KAAKU,aAEnB,MAAO,UAAWT,EAAUA,EAAQY,UAGrCC,kBAAmB,WAElB,IAAIC,EAAOf,KAAKS,qBAChB,IAAII,EAAQb,KAAKY,eACjB,IAAII,EAAS,KAEb,GAAID,KAAQF,EACZ,CACCG,EAASH,EAAME,GAGhB,IAAKxB,GAAG0B,K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